function submitlogin(o1){
	var pass = get('pass').value;
	if(!pass){js.setmsg('请输入密码');return;}
	
	js.setmsg('登录中...');
	o1.disabled = true;
	$.ajax({
		url:'?m=dbmanage&a=check',
		data:{pass:md5(pass)},
		dataType:'json',
		success:function(ret){
			if(ret.success){
				js.setmsg('登录成功跳转中...');
				js.reload();
			}else{
				js.setmsg(ret.msg);
				o1.disabled = false;
			}
		},
		error:function(s){
			js.setmsg('内部错误');
			o1.disabled = true;
		}
	});
}